package ws;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@WebService
@SOAPBinding(style = Style.DOCUMENT)
public interface GestionFichiersInterfaceWS {
	
	@WebMethod public boolean uploadAFile(byte[] contenuFichier, byte[] name);
	
	@WebMethod public String downloadAFile(String name);
	
	@WebMethod public boolean saveAFile(String name);
	
	@WebMethod public boolean createDirectory(String name);
	
	@WebMethod public boolean createFile(String name);
	
	@WebMethod public boolean deleteFile(String name);
	
	@WebMethod public boolean deleteDirectory(String name);
	
	@WebMethod public boolean editFile(String name);
	
	@WebMethod public boolean rename(String name, String newName);
	
	@WebMethod public boolean chmod(String name);
	
	@WebMethod public boolean compress(String name);
	
	@WebMethod public boolean open();
	
}
